import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import index from '@/views/index'
import recharge from '@/views/recharge'
import payment from '@/views/payment'
import initial from '@/views/initial'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: index
    },
    {
      path: '/recharge',
      name: 'recharge',
      component: recharge
    },
    {
      path: '/payment',
      name: 'payment',
      component: payment
    },
    {
      path: '/initial',
      name: 'initial',
      component: initial
    }
  ]
})
